package com.example.teesystem.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName t_violation
 */
@TableName(value ="t_violation")
@Data
public class Violation implements Serializable {
    /**
     * 
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    @TableField(value = "student_id")
    private Integer studentId;

    /**
     * 
     */
    @TableField(value = "paper_id")
    private Integer paperId;

    /**
     * 考试途中违规次数
     */
    @TableField(value = "num")
    private Integer num;

    /**
     * 
     */
    @TableField(value = "upload_time",fill = FieldFill.INSERT)
    private Date uploadTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}